package cn.itcast.wanxinp2p.consumer.agent;

import cn.itcast.wanxinp2p.common.domain.RestResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @创建人： king xuan
 * @创建时间：2021/1/29
 * @描述：
 */
@FeignClient("uaa-service")
public interface UaaApiAgent {

    @RequestMapping(value = "/uaa/oauth/check_token1")
    RestResponse checkToken1( String token);
}
